//
//  ProductCustom.m
//  cutter
//
//  Created by mac on 16/1/8.
//  Copyright © 2016年 e360. All rights reserved.
//
#import "AppData+System.h"

@implementation AppData (System)
+(id)getDatas:(id)version type:(id)type{
    NSString *request = [NSString stringWithFormat:@"?n=api&a=datas&c=datas&token=&type=%@&v=%@", type, version];
    return [self loadJson:request key:@"version" data:nil];
}
+(id)getRequest:(id)path{
    NSString *tmp = [self getPath:path];
    return [NSURLRequest requestWithURL:[NSURL URLWithString:tmp]];
}
@end